package com.ruoyi.counter.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工器具领取归还汇总对象 counter_statistical_list
 *
 * @author xll
 * @date 2021-10-12
 */
public class CounterStatisticalList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序列号(自增) */
    private Long id;

    /** 机构ID */
    @Excel(name = "机构ID")
    private Long powerid;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String powername;

    /** 工器具类型ID */
    @Excel(name = "工器具类型ID")
    private Long tooltypeid;

    /** 工器具类型名称 */
    @Excel(name = "工器具类型名称")
    private String typename;

    /** 库存总量 */
    @Excel(name = "库存总量")
    private Long totalstockquantitynum;

    /** 待归还数量，状态为1 */
    @Excel(name = "待归还数量，状态为1")
    private Long waitreturnnum;

    /** 归还数量 */
    @Excel(name = "已归还数量，状态为2")
    private Long returnnum;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creattime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPowerid(Long powerid)
    {
        this.powerid = powerid;
    }

    public Long getPowerid()
    {
        return powerid;
    }
    public void setPowername(String powername)
    {
        this.powername = powername;
    }

    public String getPowername()
    {
        return powername;
    }
    public void setTooltypeid(Long tooltypeid)
    {
        this.tooltypeid = tooltypeid;
    }

    public Long getTooltypeid()
    {
        return tooltypeid;
    }
    public void setTypename(String typename)
    {
        this.typename = typename;
    }

    public String getTypename()
    {
        return typename;
    }
    public void setTotalstockquantitynum(Long totalstockquantitynum)
    {
        this.totalstockquantitynum = totalstockquantitynum;
    }

    public Long getTotalstockquantitynum()
    {
        return totalstockquantitynum;
    }
    public void setWaitreturnnum(Long waitreturnnum)
    {
        this.waitreturnnum = waitreturnnum;
    }

    public Long getWaitreturnnum()
    {
        return waitreturnnum;
    }
    public void setReturnnum(Long returnnum)
    {
        this.returnnum = returnnum;
    }

    public Long getReturnnum()
    {
        return returnnum;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setCreattime(Date creattime)
    {
        this.creattime = creattime;
    }

    public Date getCreattime()
    {
        return creattime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("powerid", getPowerid())
                .append("powername", getPowername())
                .append("tooltypeid", getTooltypeid())
                .append("typename", getTypename())
                .append("totalstockquantitynum", getTotalstockquantitynum())
                .append("waitreturnnum", getWaitreturnnum())
                .append("returnnum", getReturnnum())
                .append("remarks", getRemarks())
                .append("creattime", getCreattime())
                .toString();
    }
}
